#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<stdlib.h>

int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int i = 0;
	for (i; i < 10; i++)
	{
		printf("%d\n", arr[i]);
	}
	printf("\n");
	int k = 0;
	int num = 0;
	for (k; k < 10;k++) 
	{
		scanf("%d", &num);
		arr[k ] = num;
	}
	int j = 0;
	while (j < 10)
	{
		printf("%d\n", arr[j]);
		j++;
	}
	printf("\n");
	return 0;
}